package com.qfedu.yuxiaoer.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class HouseLease implements Serializable {
    @ApiModelProperty(value = "添加整租id")
    private Integer id;

    @ApiModelProperty(value = "所属城市")
    private String city;

    @ApiModelProperty(value = "所属小区")
    private String community;

    @ApiModelProperty(value = "所属楼层")
    private String floor;

    @ApiModelProperty(value = "所属楼宇/栋")
    private String build;

    @ApiModelProperty(value = "所属单元")
    private String unit;

    @ApiModelProperty(value = "房间号")
    private String room;

    @ApiModelProperty(value = "所属部门")
    private String department;

    @ApiModelProperty(value = "出房管家")
    private String manager;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCommunity() {
        return community;
    }

    public void setCommunity(String community) {
        this.community = community;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getBuild() {
        return build;
    }

    public void setBuild(String build) {
        this.build = build;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", city=").append(city);
        sb.append(", community=").append(community);
        sb.append(", floor=").append(floor);
        sb.append(", build=").append(build);
        sb.append(", unit=").append(unit);
        sb.append(", room=").append(room);
        sb.append(", department=").append(department);
        sb.append(", manager=").append(manager);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}